home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000964_ian@fractal.cimat.conacyt.mx_Tue Sep 20 04:49:57 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  4KB

  1. Received: from conacyt.main.conacyt.mx by cs.umb.edu with SMTP id AA03407
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Tue, 20 Sep 1994 14:36:29 -0400
  3. Received: from fractal.cimat.conacyt.mx by conacyt.main.conacyt.mx with SMTP
  4.     (16.7/16.2) id AA18938; Tue, 20 Sep 94 10:51:54 -0500
  5. Received: by fractal.cimat.conacyt.mx (4.1/SMI-4.1)
  6.     id AA06545; Tue, 20 Sep 94 10:49:57 CST
  7. Date: Tue, 20 Sep 94 10:49:57 CST
  8. From: ian@fractal.cimat.conacyt.mx (Ian James McKay)
  9. Message-Id: <9409201649.AA06545@fractal.cimat.conacyt.mx>
  10. To: tex-k@cs.umb.edu
  11. Subject: problems with kpathsea
  12.  
  13. Dear Karl (or whoever reads this),
  14.  
  15. I have been trying to install the basic TeX distribution on a
  16. Sun SPARC (IPX) running SUNOS 4.1.2 with GNU make, bison, flex 
  17. and gcc. The configure program seems to find the OpenWindows
  18. X11 includes and libraries with no problem, and I am unable to 
  19. see anything wrong with the Makefiles. I have tried several
  20. times to apply the various patches to kpathsea so that the
  21. web2c distribution and the xdvik and dvipsk distributions
  22. match. It fails utterly to work, and craps out everytime it
  23. tries to compile the kpathsea material. 
  24.  
  25. This is frustrating, since the original kpathsea that came
  26. with web2c worked fine. As well I was able to get dvipsk-5.55a
  27. to compile on its own, though it doesn't behave as advertised
  28. (for example MakeTeXPK fails completely, because it can't write
  29. to the ..../tmp directory, even though I gave the entire universe
  30. write permission there). 
  31.  
  32. By the way, your documentation implies 
  33. that the versions of kpathsea that come with dvipsk and xdvik
  34. are identical, but this can't be true -- try applying the 
  35. kpathsea.ls-R.help patch to dvipsk-5.55a, and you'll find that
  36. db.c isn't even there, though it is in xdvik-1.8.
  37.  
  38. Here is the most recent of several sets of error messages for
  39. my attemps to make as per your instructions.
  40.  
  41.  
  42. gcc  -I. -I.  -I.. -I./..  -I/usr/openwin/include  -g -c dir.c
  43.  
  44. ./kpathsea/dir.h:48: parse error before `*'
  45. ./kpathsea/dir.h:48: warning: data definition has no type or storage class
  46. ./kpathsea/dir.h:49: parse error before `*'
  47. *** Error code 1
  48. make: Fatal error: Command failed for target `dir.o'
  49. Current working directory /usr/local/web2c-6.1/kpathsea
  50. *** Error code 1
  51. make: Fatal error: Command failed for target `do-kpathsea'
  52. Current working directory /usr/local/web2c-6.1/web2c
  53. *** Error code 1
  54. make: Fatal error: Command failed for target `triptrap'
  55.  
  56. I am not an expert, and can't afford the time to try to
  57. understand what your code is doing, but to me, this looks
  58. like a basic error in the kpathsea code being reported by the
  59. gcc compiler. 
  60.  
  61. Since you have solicited suggestions for improved documentation,
  62. let me suggest that you could start by being a little more 
  63. explicit about what directories to run make in, and in particular
  64. what to do about compiling the whole mess together. If I knew what
  65. kpathsea was doing I would know whether it was safe to compile
  66. xdvik, dvipsk and web2c each with its own version of kpathsea,
  67. but I haven't got a clue whether that is a smart thing to do or not.
  68.  
  69. I don't want to criticize because I can see the effort that you have
  70. put into this package, but really, it has cost me valuable time
  71. and shows no sign of being a 'comprehensive TeX archive'. It seems
  72. that good, well-tested code for xdvi, dvips and TeX has been complicated
  73. to the point of being uncompilable by having several different versions
  74. of kpathsea floating around. In contrast, even very large packages like
  75. the GNU emacs distribution have been virtually painless to install,
  76. only requiring reading of simple, step-by-step instructions, and some
  77. compile time. Still, my ignorance of the package could be entirely
  78. responsible for my problems now.
  79.  
  80. Ian McKay